package com.alibaba.algo.cooperation.usercomponent.service.user;

import com.alibaba.algo.cooperation.common.BaseResult;
import com.alibaba.algo.cooperation.usercomponent.vo.req.user.SysCarouselRequestVO;
import com.alibaba.algo.cooperation.usercomponent.vo.req.user.SysFileRequestVO;
import com.alibaba.algo.cooperation.usercomponent.vo.res.user.SysCarouselResponseVO;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 类SysCarouselService.java的实现描述：轮播表 service
 *
 */
//@FeignClient("usercenter-service")
public interface SysCarouselService {

    @RequestMapping(value = "/sysCarousel/insert", method = RequestMethod.POST)
    BaseResult insert(@RequestBody SysCarouselRequestVO vo);

    @RequestMapping(value = "/sysCarousel/update", method = RequestMethod.POST)
    BaseResult update(@RequestBody SysCarouselRequestVO vo);

    @RequestMapping(value = "/sysCarousel/selectOne", method = RequestMethod.POST)
    SysCarouselResponseVO selectOne();

    @RequestMapping(value = "/sysCarousel/uploadFile", method = RequestMethod.POST)
    BaseResult uploadFile(@RequestBody SysFileRequestVO sysFileRequestVO);

}
